﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MinhasVagas.aspx.cs" Inherits="PortalCurriculo.WebUI.Selecionadores.MinhasVagas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HomePage" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageTitle" runat="server">
    <asp:Label runat="server" ID="lblTitulo" Text="Minhas vagas" CssClass="pageTitle" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ListView ID="lsvVagas" runat="server" ItemPlaceholderID="phItens" 
        onitemdatabound="lsvVagas_ItemDataBound" > 
        <LayoutTemplate>
            <table width="100%" cellspacing="0px" cellpadding="3px">
                <tr class="tabelaHeader">
                    <td style="width:80px" class="tabelaHeader"><asp:Label runat="server" ID="lblData" Text="Data" /></td>
                    <td align="center" class="tabelaHeader"><asp:Label runat="server" ID="lblArea" Text="Área" /></td>
                    <td align="center" class="tabelaHeader"><asp:Label runat="server" ID="lblCargo" Text="Cargo" /></td>
                    <td class="tabelaHeader"><asp:Label runat="server" ID="lblValor" Text="Valor" /></td>
                    <td class="tabelaHeader"></td>
                </tr>
                <asp:PlaceHolder ID="phItens" runat="server" />
            </table>
        </LayoutTemplate>
        <ItemTemplate>
            <tr>
                <td class="tabelaCelula"><asp:Label runat="server" ID="lblData" Text="01 de janeiro" /></td>
                <td class="tabelaCelula"><asp:Label runat="server" ID="lblArea" Text="Medicina"/></td>
                <td class="tabelaCelula"><asp:Label runat="server" ID="lblCargo" Text="Clínico"/></td>
                <td class="tabelaCelula"><asp:Label runat="server" ID="lblValor" Text="4.500,00 (CLT)"/></td>
                <td class="tabelaCelula">
                    <asp:ImageButton runat="server" ImageUrl="~/Files/Layout/Buttons/Edit.png" ID="imgEditar" Width="23px" />
                    <asp:ImageButton runat="server" ImageUrl="~/Files/Layout/Buttons/View.png" ID="imgVisualizar" Width="23px"
                        PostBackUrl="~/Selecionadores/VisualizarVaga.aspx?Id=" />
                </td>
            </tr>
        </ItemTemplate>
        <EmptyDataTemplate>
            <asp:Label ID="lblVazio" runat="server" Text="Não há vagas cadastradas." CssClass="failureNotification" />
        </EmptyDataTemplate>
    </asp:ListView>
    <center>
        <asp:DataPager ID="dpgVagas" runat="server" PagedControlID="lsvVagas" PageSize="15" >
            <Fields>
                <asp:NextPreviousPagerField FirstPageText="Primeiro" LastPageText="Último" 
                    NextPageText="Próximo" PreviousPageText="Anterior" />
                <asp:NumericPagerField ButtonCount="10" ButtonType="Link" />
            </Fields>
        </asp:DataPager>
    </center>
</asp:Content>